<?php

namespace XWAM\Addon\POrgCustomer\Controller;

/**
 * CallRecordController 类
 *
 * @since VER:1.0; DATE:2016-1-23; AUTHOR:SoChishun; EMAIL:14507247@qq.com; DESC:Added.
 */
class CallRecordController extends AddonbaseController {

    // 2016-2-1 by sutroon
    function record_list() {
        //AddonD('CallRecord')->add(array('exten' => 'admin', 'line' => '13950000003'));
        $asearch_info = array('where' => array(), 'search' => $_GET);
        $list = D('Common')->get_paging_list($asearch_info['where'], $show, array('ORDERBY' => 'id desc', 'PAGEPARAMS' => $asearch_info['search'], 'TABLE' => 't_porg_callrecord'));
        $this->assign('page', $show);
        $this->assign('list', $list);
        $this->assign('search', $asearch_info['search']);
        $this->display_cpp();
    }

}
